<?php
/**
 * News page controller
 *
 * @author Dima
 *
 */

class AboutusController extends modules_default_controllers_ControllerBase
{
	public $ajaxable = array(
	);

	//----------------------------------------------------------------------------------------------------

	protected $_bForLoggedUsersOnly = false;

	public function init()
	{
		if (! $this->getRequest()->isXmlHttpRequest())
		{
			$this->view->title = 'About Us';
			parent::init();

			$this->view->headLink()->appendStylesheet('/css/jquery.alerts.css');


			$this->view->headScript()->appendFile('/js/jquery.metadata.js');
			$this->view->headScript()->appendFile('/js/jquery.alerts.js');

			//			$this->view->headScript()->appendFile('/js/news.js');
		}

		$this->_helper->AjaxContext()->initContext('json');
	}

	//----------------------------------------------------------------------------------------------------


	public function indexAction()
	{
//		$allItems = models_PagecontentMapper::getItem('aboutus');
		$this->view->allItems = $allItems = array();
	}

//----------------------------------------------------------------------------------------------------
}